package com.envper.common.service;

import com.envper.mysql.domain.dto.PermDto;

import java.util.List;
import java.util.Set;

public interface PermService {

    List<String> getPermCodeListByUserId(Long userId);

    List<String> getPermListByRoleIdList(List<Long> roleIdList);

    Set<String> getPermCodeSetByUserId(Long userId);

    void savePerm(PermDto perm);

    List<PermDto> getPermList();
}
